package com.coderdream.chapter05.singleton.singleton;

public class Singleton {
	
	private static Singleton singleton = new Singleton();

	private Singleton() {
		System.out.println("已產生實例對象");
	}

	public static Singleton getInstance() {
		return singleton;
	}
}
